﻿using System;

namespace YArchitech.Plumbing
{
	public class Para
	{
		public Para()
		{
		}

		public Para(string _name, string _formula, string _condition)
		{
			this.name = _name;
			this.formula = _formula;
			this.condition = _condition;
		}

		public string Name
		{
			get
			{
				return this.name;
			}
			set
			{
				this.name = value;
			}
		}

		public string Formula
		{
			get
			{
				return this.formula;
			}
			set
			{
				this.formula = value;
			}
		}

		public string Condition
		{
			get
			{
				return this.condition;
			}
			set
			{
				this.condition = value;
			}
		}

		public bool IsReadFromXml
		{
			get
			{
				return this.isReadFromXml;
			}
			set
			{
				this.isReadFromXml = value;
			}
		}

		public string[] Formulas
		{
			get
			{
				return this.formulas;
			}
			set
			{
				this.formulas = value;
			}
		}

		public string[] Conditions
		{
			get
			{
				return this.conditions;
			}
			set
			{
				this.conditions = value;
			}
		}

		private string name;

		private string formula;

		private string condition;

		private bool isReadFromXml;

		private string[] formulas;

		private string[] conditions;
	}
}
